#ifndef LOCALMUSICWIDGET_H
#define LOCALMUSICWIDGET_H

#include <QLabel>
#include <QPushButton>
#include <QHBoxLayout>
#include <QMediaPlayer>
#include <QMediaMetaData>
#include <QAudioOutput>
#include <QUrl>
#include <QFileDialog>

#include <albumwidget.h>

class LocalMusicWidget:public AlbumWidget
{
public:
    LocalMusicWidget(QWidget*parent=nullptr);
    void ScanLocalDir(const QString&filepath);
signals:
private slots:
    void onClickLocalFileBtn();
protected:

    //上部控件
    QWidget*topw;
    QLabel*localname,*localsongnum;
    QPushButton*localfilebtn;
    QHBoxLayout*localtoplayout;
};

#endif // LOCALMUSICWIDGET_H
